import {seckList} from '../../../request/api'
const state={
secklist:[]
}
const getters={
getSeckList(state){
    return state.secklist
}
}
const mutations={
REQ_SECKLIST(state,payload){
    state.secklist=payload
}
}
const actions={
getSeckListAction({commit}){
    seckList().then(res=>{
        commit('REQ_SECKLIST',res.list)
    })
}
}
export default{
    state,
    getters,
    mutations,
    actions,
    namespaced:true
}